<?php
//	date_default_timezone_set("Asia/Saigon");
	date_default_timezone_set("UTC");
	error_reporting(E_ALL ^ E_NOTICE);
	set_time_limit(0);
	/**
	* System Configuration Info
	*/
	$GLOBALS['start_time'] = microtime();
	//define("DEBUG", (@$_REQUEST['clear_cache']=='yes')?true:false);
	@define("DEBUG", true);
	define("JS_VERSION",2.01);
	if(!DEBUG)
	{
		//define('USE_LINKS_CACHE',1);
	}
	else
	{
		define('EXPORT_JS_AND_CSS',1);
	}
	define('CURRENCY','VND');
	define('SLOW_QUERY_LOG',1);
	define('RUN_PROMOTION',0);
	define('LOCK_SCREEN',1);
	define("UNDER_CONSTRUCTION",false);
	define("ROOT_DIR",dirname(__FILE__)."/");
	define("COOKIE_URL",'.vict.com');
	define('DATA_DIR','data/');
	define('THIRD_PARTY',ROOT_DIR.'3rdparty/');
	define("ASIDO_DIR",THIRD_PARTY."Asido/");
	define('DEBUG_DIR',ROOT_DIR.'testbug/');
	//blacknight for forum php
	define('UPDATE_FR_SESSION_FLAG', 'update_fr_session_flag');
	define('REDIRECT_TO_FR', 'redirect_to_fr');
	
	/**
	* System Parameters for Configuration
	*/
	define('IMAGE_EXTENSION',"gif,jpg,jpeg,png");
	define('MEDIA_EXTENSION',"avi,wmv,wma,flv,swf");
	define('FLASH_EXTENSION',"flv,swf");
	define('DOC_EXTENSION',"doc,xls,pdf,ppt,rar,zip");

	define("MAXIMUM_CHAT_ACCOUNTS",3);

  /*
	$GLOBALS['cache'] = array(
	  'default' => array(
	    'type' => 'memcache',
	    'host' => '127.0.0.1',
	    'port' => '11211'
	  ),
	  'data' => array(
	    'type' => 'memcache',
	    'host' => '127.0.0.1',
	    'port' => '11212'
	  ),
	  'layout' => array(
	    'type' => 'memcache',
	    'host' => '127.0.0.1',
	    'port' => '11213'
	  ),
	  'session' => array(
	    'type' => 'memcache',
	    'host' => '127.0.0.1',
	    'port' => '11213'
	  ),
	);*/

	$GLOBALS['cache'] = array(
	  'default' => array(
	    'type' => 'file',
	  ),
	  'data' => array(
	    'type' => 'file',
	  ),
	  'layout' => array(
	    'type' => 'file',
	  ),
	  'session' => array(
	    'type' => 'file',
	  ),
	);

	define('MASTER_DATABASE_HOST','localhost');
	define('MASTER_DATABASE_USER','root');
	define('MASTER_DATABASE_PASSWORD','');
	define('MASTER_DATABASE_NAME','bet');
	define('SLAVE_DATABASE_HOST','localhost');
	define('SLAVE_DATABASE_USER','root');
	define('SLAVE_DATABASE_PASSWORD','');
	define('SLAVE_DATABASE_NAME','bet');
?>
